import Student from './student.vue'
import studentAdd from './studentAdd.vue'
import studentSearch from './studentSearch.vue'
import studentView from './studentView.vue'

const components = [
    Student,
    studentAdd,
    studentSearch,
    studentView
]

const main = {
    install(Vue) {
        components.map((component) => {
            Vue.component(component.name, component)
        })
    }
}

export default main